package intelligentcity.model.streets;

import intelligentcity.model.Move;

public class HorizontalStreet extends Street {

    public HorizontalStreet(int x1, int y1, int x2) {
        super(new HorizontalOneWayStreet(x1, y1, x2, Move.LEFT), new HorizontalOneWayStreet(x1, y1 + distance, x2,
                Move.RIGHT));
    }
}
